package com.hrbxlh.virtualization.dao;

import com.hrbxlh.virtualization.param.StatisticQueryParam;
import org.apache.ibatis.annotations.Param;

public interface StatisticMapperExt {

    Long getExperimentTime(StatisticQueryParam statisticQueryParam);

    Long getExperimentDurationByStuorteaId(String stuorteaId);

    Long getExperimentDurationByStuorteaIdAndCourseId(@Param("stuorteaId") String stuorteaId,
            @Param("courseId") Integer courseId);

    Integer getCourseIdByChapterId(Integer chapterId);

    /**
     * 查询学生某课程的授课教师Id
     */
    String getTeacherIdByStuorteaIdAndCourseId(@Param("stuorteaId") String stuorteaId,
            @Param("courseId") Integer courseId);
}